package com.tvunetworks.center.device.model;

import com.tvunetworks.center.common.util.Result;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Table;

/**
 * @program: tvucc-aggregator
 * @description: CustomizedUgcRecord
 * @author lebronchen
 * @create: 2020-05-13 14:51
 **/
@Data
@Accessors(chain = true)
@Table(name = "tvu_customized_ugc_record")
public class CustomizedUgcRecord extends BaseBean {

    private String userId;
    private String tid;
    private String ugcAccountId;
    private String groupName;
    private String rid;
    private String errorCode;
    private String errorInfo;

    /**
     *
     * @param result result
     */
    public void setResult(Result result) {
        this.errorCode = result.getErrorCode();
        this.errorInfo = result.getErrorInfo();
    }
}
